fc9cfc1fb6ecd168f2c737e190b856732a11e6fc,store/src/test/java/org/gephi/graph/impl/EdgeImplTest.java,EdgeImplTest,testGetWeightsInterval,#,210

Before Change



    @Test
    public void testGetWeightsInterval() {
        GraphStore graphStore = GraphGenerator.generateTinyGraphStore(TimeRepresentation.INTERVAL);
        Edge e = graphStore.getEdge("0");
        e.setWeight(10.0, new Interval(3.0, 4.0));
        e.setWeight(20.0, new Interval(1.0, 2.0));

After Change



    @Test
    public void testGetWeightsInterval() {
        Configuration config = new Configuration();
        config.setEdgeWeightType(IntervalDoubleMap.class);
        config.setTimeRepresentation(TimeRepresentation.INTERVAL);
        GraphStore graphStore = GraphGenerator.generateTinyGraphStore(config);
        Edge e = graphStore.getEdge("0");
        e.setWeight(10.0, new Interval(3.0, 4.0));
        e.setWeight(20.0, new Interval(1.0, 2.0));